made the "parent_class" pointer static.
authorMichael Natterer <mitch@gimp.org>
Mon, 5 Mar 2001 16:44:18 +0000 (16:44 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Mon, 5 Mar 2001 16:44:18 +0000 (16:44 +0000)
2001-03-05  Michael Natterer  <mitch@gimp.org>

* src/pixbuf-draw.c: made the "parent_class" pointer static.

(Owen, I just commented out the draw methods which don't exist any
more to make it compile).

modules/engines/pixbuf/ChangeLog
modules/engines/pixbuf/pixbuf-draw.c

index 9bad2a49a93d44e20f8d769aef8e3f2a3b1c0353..fdd47e2230a5239f3202263ddc243324b97a69b3 100644 (file)
@@ -1,3 +1,10 @@
+2001-03-05  Michael Natterer  <mitch@gimp.org>
+
+       * src/pixbuf-draw.c: made the "parent_class" pointer static.
+
+       (Owen, I just commented out the draw methods which don't exist any
+       more to make it compile).
+
 2001-02-20  Sven Neumann  <sven@convergence.de>
 
        * src/pixbuf-draw.c (draw_vline): use draw_vline method of 
index 870284403da08317bcbb724da1cd5d336e14e895..1ffe35c9427329e917aeebe0113506179eafcbdf 100644 (file)
@@ -30,7 +30,7 @@
 static void pixbuf_style_init       (PixbufStyle      *style);
 static void pixbuf_style_class_init (PixbufStyleClass *klass);
 
-GtkStyleClass *parent_class;
+static GtkStyleClass *parent_class = NULL;
 
 static ThemeImage *
 match_theme_image (GtkStyle       *style,
@@ -581,7 +581,7 @@ draw_diamond (GtkStyle     *style,
     parent_class->draw_diamond (style, window, state, shadow, area, widget, detail,
                                x, y, width, height);
 }
-
+/*
 static void
 draw_oval (GtkStyle     *style,
           GdkWindow    *window,
@@ -611,7 +611,7 @@ draw_oval (GtkStyle     *style,
     parent_class->draw_oval (style, window, state, shadow, area, widget, detail,
                             x, y, width, height);
 }
-
+*/
 static void
 draw_string (GtkStyle * style,
             GdkWindow * window,
@@ -770,6 +770,7 @@ draw_option (GtkStyle      *style,
                               x, y, width, height);
 }
 
+/*
 static void
 draw_cross (GtkStyle     *style,
            GdkWindow    *window,
@@ -830,6 +831,7 @@ draw_ramp (GtkStyle     *style,
     parent_class->draw_ramp (style, window, state, shadow, area, widget, detail,
                             arrow_direction, x, y, width, height);
 }
+*/
 
 static void
 draw_tab (GtkStyle     *style,
@@ -1108,14 +1110,14 @@ pixbuf_style_class_init (PixbufStyleClass *klass)
   style_class->draw_polygon = draw_polygon;
   style_class->draw_arrow = draw_arrow;
   style_class->draw_diamond = draw_diamond;
-  style_class->draw_oval = draw_oval;
+  /*style_class->draw_oval = draw_oval;*/
   style_class->draw_string = draw_string;
   style_class->draw_box = draw_box;
   style_class->draw_flat_box = draw_flat_box;
   style_class->draw_check = draw_check;
   style_class->draw_option = draw_option;
-  style_class->draw_cross = draw_cross;
-  style_class->draw_ramp = draw_ramp;
+  /*style_class->draw_cross = draw_cross;*/
+  /*style_class->draw_ramp = draw_ramp;*/
   style_class->draw_tab = draw_tab;
   style_class->draw_shadow_gap = draw_shadow_gap;
   style_class->draw_box_gap = draw_box_gap;